/*
 * @Author: long
 * @Date:   2017-05-02 00:15:33
 * @Last Modified by:   long
 * @Last Modified time: 2017-05-02 04:07:17
 */

// 'use strict';


function nav_bt_search_onclick(id, show_css_name) {
    o = window.document.getElementById(id);
    if (o.style.display == "block") {
        o.style.display = "none"
    } else {
        o.style.display = "block";
    }
    o.focus();
    // aname = "class";
    // if (!o.hasAttribute(aname)) {
    //     aname = "className";
    // }
    // c = o.getAttribute(aname);
    // if (c.indexOf(show_css_name) <= 0) {
    //     c = c + " " + show_css_name;
    // } else {
    //     c = c.replace(show_css_name, "");
    // }
    // o.setAttribute(aname, c);
}
